package com.cnhonker.edu.system.service;

import com.cnhonker.edu.system.dao.ISysFunctionDao;
import com.cnhonker.edu.system.entity.SysFunction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 后台系统权限
 * @author Apple
 */
@Service("sysFunctionService")
public class SysFunctionServiceImpl implements SysFunctionService{

	@Autowired
	private ISysFunctionDao sysFunctionDao;
	
	public List<SysFunction> queryAllSysFunction() {
		return sysFunctionDao.queryAllSysFunction();
	}

	public int cresateSysFunction(SysFunction sysFunction) {
		return 0;
	}

	public void updateFunction(SysFunction sysFunction) {

	}

	public void updateFunctionParentId(int parentId, int functionId) {

	}

	public void deleteFunctionByIds(String ids) {

	}

	public List<SysFunction> querySysUserFunction(int userId) {
		return null;
	}
}
